/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.brucexx.assistx.faq;

import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 *
 * @author zhao.xiong
 */
@Controller
public class FAQController {

    private static Logger logger = Logger.getLogger(FAQController.class);

    @RequestMapping(value = "/faq", method = RequestMethod.GET)
    public String faqPage(HttpServletRequest req, HttpServletResponse resp) throws IOException {

        return "faq/sgwfaq";
    }

    
    @RequestMapping(value = "/faq_search", method = RequestMethod.GET)
    public String faqSearchPage(HttpServletRequest req, HttpServletResponse resp) throws IOException {

        return "faq/faqsearch";
    }
}
